package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.ShSerialNumFlowBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface ShSerialNumFlowService extends BaseService<ShSerialNumFlowBean> {

	ShSerialNumFlowBean getShSerialNumFlowBeanById(String id) throws Exception;
	
	void removeShSerialNumFlowBeanById(String id) throws Exception;
	
	void removeShSerialNumFlowBeanByIds(String ids) throws Exception;
	
	ShSerialNumFlowBean saveShSerialNumFlowBean(ShSerialNumFlowBean crm) throws Exception;
	
	ShSerialNumFlowBean updateShSerialNumFlowBean(ShSerialNumFlowBean crm) throws Exception;
	
	Page<ShSerialNumFlowBean>  findShSerialNumFlowBeanByCond(ShSerialNumFlowBean bean,
			Page<ShSerialNumFlowBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveShSerialNumFlowBeanExt(String sql) throws Exception;

	String findShSerialNumFlowBeanExtCreate(String tableName) throws Exception;

	String findShSerialNumFlowBeanExtEdit(String tableName, String id)
			throws Exception;

	String findShSerialNumFlowBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasShSerialNumFlowBeanExtData(String tableName, String id)
			throws Exception;
}